package com.itcast.bulls.stock.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 公司（交易商）表
 * 
 * t_company
 *
 *
 * @mbg.generated Thu Jun 15 17:12:08 CST 2023
 */
public class TCompany implements Serializable {
    /**
     * 主键标识
     */
    private Long id;

    /**
     * 公司名称
     *              
     */
    private String companyName;

    /**
     * 机构类型
     */
    private String institutionTypeId;

    /**
     * 联系人
     */
    private String contactUser;

    /**
     * 联系电话
     */
    private String contactPhone;

    /**
     * 管理员账号
     */
    private String adminUser;

    /**
     * 状态(0:有效， 2：禁用）
     */
    private Byte status;

    /**
     * 创建人名称
     */
    private String createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后更新人名称
     */
    private String lastUpdateUser;

    /**
     * 最后更新时间
     */
    private Date lastUpdateTime;

    /**
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键标识
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.id
     *
     * @param id the value for t_company.id
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 公司名称
     *              
     */
    public String getCompanyName() {
        return companyName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.companyName
     *
     * @param companyName the value for t_company.companyName
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    /**
     * 机构类型
     */
    public String getInstitutionTypeId() {
        return institutionTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.institutionTypeId
     *
     * @param institutionTypeId the value for t_company.institutionTypeId
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setInstitutionTypeId(String institutionTypeId) {
        this.institutionTypeId = institutionTypeId == null ? null : institutionTypeId.trim();
    }

    /**
     * 联系人
     */
    public String getContactUser() {
        return contactUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.contactUser
     *
     * @param contactUser the value for t_company.contactUser
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setContactUser(String contactUser) {
        this.contactUser = contactUser == null ? null : contactUser.trim();
    }

    /**
     * 联系电话
     */
    public String getContactPhone() {
        return contactPhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.contactPhone
     *
     * @param contactPhone the value for t_company.contactPhone
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone == null ? null : contactPhone.trim();
    }

    /**
     * 管理员账号
     */
    public String getAdminUser() {
        return adminUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.adminUser
     *
     * @param adminUser the value for t_company.adminUser
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setAdminUser(String adminUser) {
        this.adminUser = adminUser == null ? null : adminUser.trim();
    }

    /**
     * 状态(0:有效， 2：禁用）
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.status
     *
     * @param status the value for t_company.status
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 创建人名称
     */
    public String getCreateUser() {
        return createUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.createUser
     *
     * @param createUser the value for t_company.createUser
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.createTime
     *
     * @param createTime the value for t_company.createTime
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 最后更新人名称
     */
    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.lastUpdateUser
     *
     * @param lastUpdateUser the value for t_company.lastUpdateUser
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    /**
     * 最后更新时间
     */
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_company.lastUpdateTime
     *
     * @param lastUpdateTime the value for t_company.lastUpdateTime
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}